package com.mlnx.work.pojo.form;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.mlnx.work.enums.AccountStatusEnum;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created by amanda.shan on 2020/12/28.
 */
@Data
public class UserFilterForm {

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "账号")
    private String username;

    @ApiModelProperty(value = "部门id")
    private Integer deptId;

    @ApiModelProperty(value = "角色id")
    private Integer roleId;

    @ApiModelProperty(value = "手机号")
    private Integer phone;

    @EnumValue
    @ApiModelProperty(value = "OT(\"0\", \"未审核\"), SUCESS(\"1\", \"审核通过\"),\n" +
            "    FAIL(\"2\", \"审核失败\")")
    private AccountStatusEnum status;
}
